package com.fqgj.sentry.policy.client;


import com.fqgj.sentry.policy.entity.PcFunctionColumnEntity;

import java.util.List;

/**
 * Created by zwh @yuntu-inc.com
 *
 * @description
 * @create 2017/7/29 0029 上午 11:46
 */
public interface FunColumnService {
    /**
     * 根据函数id 查询关联字段
     * @param functionId
     * @return
     */
    List<PcFunctionColumnEntity> findByFunctionId(Long functionId);

    /**
     * 新增
     * @param entity
     * @return
     */
    PcFunctionColumnEntity save(PcFunctionColumnEntity entity);

    /**
     * 删除
     * @param functionId
     * @return
     */
    Boolean deleteByFunctionId(Long functionId);
}
